package io.renren.system.log.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 登录日志表
 */
@Data
public class SysLogLoginExcel {
    @Excel(name = "用户名")
    private String creatorName;
    @Excel(name = "用户操作", replace = {"登录_0", "退出_1"})
    private Integer operation;
    @Excel(name = "状态", replace = {"失败_0", "成功_1", "账号已锁定_2"})
    private Integer status;
    @Excel(name = "操作IP")
    private String ip;
    @Excel(name = "用户代理")
    private String userAgent;
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

}
